 package com.client  
 {  
     import mx.controls.List;  
     import mx.controls.TextArea;  
       
     public class clientInvockObj  
     {  
         private var chatList:List;  
         private var chatContent:TextArea;  
         public function clientInvockObj(list:List,chatContent:TextArea)  
         {  
             this.chatList=list;  
             this.chatContent=chatContent;  
         }  
           
         public function getUserList(userList:Array):void{  
                 chatList.dataProvider=userList;  
             }  
           
         public function getMsgInfo(msg:String):void{  
             chatContent.text+=msg+"\n";  
         }  
     }  
 }
